package com.netcracker.studportal.server.main_test;

import org.json.simple.JSONObject;

import com.netcracker.studportal.server.facade.FacadeGuest;

public class MainFacadeGuest {
	public static void main(String args[]){
		FacadeGuest facade=new FacadeGuest();
		JSONObject obj=new JSONObject();
		obj.put("login","vlasov_a");
		obj.put("password","edcvfr579");		
		
		String paramUser=obj.toString();	
		
		try {
			String str=facade.authorization(paramUser);
			System.out.println(str);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
